package com.gxsyh.nantie.dining.provider;

import org.springframework.amqp.rabbit.annotation.EnableRabbit;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * @email yom535@outlook.com
 * @author: 刘锋嘉(Liu Fengjia)
 * @date: 2020/1/8
 * @time: 14:48
 * @Description:
 */

@EnableRabbit
@ComponentScan(basePackages = {"com.gxsyh.nantie"})
@SpringBootApplication
@EnableDiscoveryClient
@MapperScan(basePackages = "com.gxsyh.nantie.dining.provider.mapper")
public class DiningApplication {
    public static void main(String[] args) {
        SpringApplication.run(DiningApplication.class,args);
    }
}
